package com.dmall.modules.admin.service;

import com.dmall.common.utils.Result;
import com.dmall.modules.admin.entity.AdminUserToken;

/**
 * @author Chen 2017/12/7
 */
public interface AdminUserTokenService {
    //创建token
    Result createToken(Long id);
    //根据用户Id查询token
    AdminUserToken findTokenByUserId(Long userId);
}
